From 26222d99273b695edea01c5b25f377ca3feef736 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 28 Feb 2008 15:03:33 +0000 Subject: [PATCH] Fix x86 build. Signed-off-by: Keir Fraser --- xen/drivers/passthrough/amd/iommu_acpi.c | 4 ++-- xen/include/asm-x86/amd-iommu.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/drivers/passthrough/amd/iommu_acpi.c b/xen/drivers/passthrough/amd/iommu_acpi.c index 48d333165a..332e5d626e 100644 --- a/xen/drivers/passthrough/amd/iommu_acpi.c +++ b/xen/drivers/passthrough/amd/iommu_acpi.c @@ -40,8 +40,8 @@ static struct amd_iommu * __init find_iommu_from_bdf_cap( return NULL; } -static void __init reserve_iommu_exclusion_range(struct amd_iommu *iommu, - unsigned long base, unsigned long limit) +static void __init reserve_iommu_exclusion_range( + struct amd_iommu *iommu, uint64_t base, uint64_t limit) { /* need to extend exclusion range? */ if ( iommu->exclusion_enable ) diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index 6c373977a3..b680dc38c8 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -77,8 +77,8 @@ struct amd_iommu { int exclusion_enable; int exclusion_allow_all; - unsigned long exclusion_base; - unsigned long exclusion_limit; + uint64_t exclusion_base; + uint64_t exclusion_limit; }; struct ivrs_mappings { -- 2.30.2